package com.wwtech.epp.entity;

import java.util.List;

/**
 * Created by hu on 2017/9/15.
 */

public class ProjectDetail extends BaseBack {

    /**
     * data : {"beginTime":"2017-09-15 00:00:00","endTime":"2017-11-15 00:00:00","joiner":[{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"龚国军","orgTitle":"副总经理","phone":"18907372831","roleLevel":2,"userId":10216},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"孙慎波","orgTitle":"班子成员","phone":"13973779489","roleLevel":2,"userId":10217},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"郭照光","orgTitle":"益阳大桥公司总经理","phone":"18230506921","roleLevel":2,"userId":10218},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"喻跃辉","orgTitle":"垃圾处理场分管领导","phone":"13607377749","roleLevel":2,"userId":10219}],"nickName":"龚厚文","ownerUid":10221,"projectDesc":"没钱啊","projectId":27,"projectName":"哈哈哈哈","projectTarget":"试一下多任务","reports":[],"star":false,"subJob":[{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","createTime":"2017-09-15 00:00:00","createrId":10221,"deadline":"2017-09-15 00:00:00","jobContent":"任务一","jobId":17,"jobState":0,"jobTitle":"0","nickName":"龚国军","ownerId":10216,"projectId":27,"roleLevel":2,"state":0},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","createTime":"2017-09-15 00:00:00","createrId":10221,"deadline":"2017-09-15 00:00:00","jobContent":"任务二","jobId":18,"jobState":0,"jobTitle":"0","nickName":"孙慎波","ownerId":10217,"projectId":27,"roleLevel":2,"state":0},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","createTime":"2017-09-15 00:00:00","createrId":10221,"deadline":"2017-09-15 00:00:00","jobContent":"任务三","jobId":19,"jobState":0,"jobTitle":"0","nickName":"谢俊雄","ownerId":10215,"projectId":27,"roleLevel":2,"state":0}]}
     */

    private DataBean data;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * beginTime : 2017-09-15 00:00:00
         * endTime : 2017-11-15 00:00:00
         * joiner : [{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"龚国军","orgTitle":"副总经理","phone":"18907372831","roleLevel":2,"userId":10216},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"孙慎波","orgTitle":"班子成员","phone":"13973779489","roleLevel":2,"userId":10217},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"郭照光","orgTitle":"益阳大桥公司总经理","phone":"18230506921","roleLevel":2,"userId":10218},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","nickName":"喻跃辉","orgTitle":"垃圾处理场分管领导","phone":"13607377749","roleLevel":2,"userId":10219}]
         * nickName : 龚厚文
         * ownerUid : 10221
         * projectDesc : 没钱啊
         * projectId : 27
         * projectName : 哈哈哈哈
         * projectTarget : 试一下多任务
         * reports : []
         * star : false
         * subJob : [{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","createTime":"2017-09-15 00:00:00","createrId":10221,"deadline":"2017-09-15 00:00:00","jobContent":"任务一","jobId":17,"jobState":0,"jobTitle":"0","nickName":"龚国军","ownerId":10216,"projectId":27,"roleLevel":2,"state":0},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","createTime":"2017-09-15 00:00:00","createrId":10221,"deadline":"2017-09-15 00:00:00","jobContent":"任务二","jobId":18,"jobState":0,"jobTitle":"0","nickName":"孙慎波","ownerId":10217,"projectId":27,"roleLevel":2,"state":0},{"avatar":"https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png","createTime":"2017-09-15 00:00:00","createrId":10221,"deadline":"2017-09-15 00:00:00","jobContent":"任务三","jobId":19,"jobState":0,"jobTitle":"0","nickName":"谢俊雄","ownerId":10215,"projectId":27,"roleLevel":2,"state":0}]
         */

        private String beginTime;
        private String endTime;
        private String nickName;
        private int ownerUid;
        private String projectDesc;
        private int projectId;
        private String projectName;
        private String projectTarget;
        private int projectState;
        private boolean star;

        public int getProjectState() {
            return projectState;
        }

        public void setProjectState(int projectState) {
            this.projectState = projectState;
        }

        private List<JoinerBean> joiner;
        private List<Report> reports;
        private List<TaskDetail> subJob;

        public String getBeginTime() {
            return beginTime;
        }

        public void setBeginTime(String beginTime) {
            this.beginTime = beginTime;
        }

        public String getEndTime() {
            return endTime;
        }

        public void setEndTime(String endTime) {
            this.endTime = endTime;
        }

        public String getNickName() {
            return nickName;
        }

        public void setNickName(String nickName) {
            this.nickName = nickName;
        }

        public int getOwnerUid() {
            return ownerUid;
        }

        public void setOwnerUid(int ownerUid) {
            this.ownerUid = ownerUid;
        }

        public String getProjectDesc() {
            return projectDesc;
        }

        public void setProjectDesc(String projectDesc) {
            this.projectDesc = projectDesc;
        }

        public int getProjectId() {
            return projectId;
        }

        public void setProjectId(int projectId) {
            this.projectId = projectId;
        }

        public String getProjectName() {
            return projectName;
        }

        public void setProjectName(String projectName) {
            this.projectName = projectName;
        }

        public String getProjectTarget() {
            return projectTarget;
        }

        public void setProjectTarget(String projectTarget) {
            this.projectTarget = projectTarget;
        }

        public boolean isStar() {
            return star;
        }

        public void setStar(boolean star) {
            this.star = star;
        }

        public List<JoinerBean> getJoiner() {
            return joiner;
        }

        public void setJoiner(List<JoinerBean> joiner) {
            this.joiner = joiner;
        }

        public List<Report> getReports() {
            return reports;
        }

        public void setReports(List<Report> reports) {
            this.reports = reports;
        }

        public List<TaskDetail> getSubJob() {
            return subJob;
        }

        public void setSubJob(List<TaskDetail> subJob) {
            this.subJob = subJob;
        }

        public static class JoinerBean {
            /**
             * avatar : https://s3.cn-north-1.amazonaws.com.cn/zxl/head/male_avatar%403x.png
             * nickName : 龚国军
             * orgTitle : 副总经理
             * phone : 18907372831
             * roleLevel : 2
             * userId : 10216
             */

            private String avatar;
            private String nickName;
            private String orgTitle;
            private String phone;
            private int roleLevel;
            private int userId;

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickName() {
                return nickName;
            }

            public void setNickName(String nickName) {
                this.nickName = nickName;
            }

            public String getOrgTitle() {
                return orgTitle;
            }

            public void setOrgTitle(String orgTitle) {
                this.orgTitle = orgTitle;
            }

            public String getPhone() {
                return phone;
            }

            public void setPhone(String phone) {
                this.phone = phone;
            }

            public int getRoleLevel() {
                return roleLevel;
            }

            public void setRoleLevel(int roleLevel) {
                this.roleLevel = roleLevel;
            }

            public int getUserId() {
                return userId;
            }

            public void setUserId(int userId) {
                this.userId = userId;
            }
        }
    }
}
